package com.zoweunion.mechanic.service.base;

import com.zoweunion.mechanic.model.User;

import java.util.Map;

public interface CarModelManagementService {

    /**
     * 获取车辆管理列表
     *
     * @param currentUser
     * @param reqMap
     * @return
     */
    Map<String, Object> list(User currentUser, Map<String, Object> reqMap);

    /**
     * 保存车辆管理列表
     *
     * @param currentUser
     * @param reqMap
     * @return
     */
    boolean save(User currentUser, Map<String, Object> reqMap);

    /**
     * 获取车辆详情
     *
     * @param currentUser
     * @param reqMap
     * @return
     */
    Map<String, Object> detail(User currentUser, Map<String, Object> reqMap);

    /**
     * 删除车辆管理列表
     *
     * @param currentUser
     * @param reqMap
     * @return
     */
    boolean delete(User currentUser, Map<String, Object> reqMap);

    Map<String, Object> selectFuelTank(Map<String, Object> map);

    void updateFuelTank(Map<String, Object> map);
}
